package com.youxin.cpcenter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.youxin.busfoundation.bean.ent.MemberQueryBean;
import com.youxin.cpcenter.bean.MemberQueryListBean;
import com.youxin.cpcenter.bean.member.MemberInfo;
import com.youxin.cpcenter.model.TbMemberInfo;

@Mapper
public interface TbMemberInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TbMemberInfo record);

    int insertSelective(TbMemberInfo record);

    TbMemberInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbMemberInfo record);

    int updateByPrimaryKey(TbMemberInfo record);
    
    List<TbMemberInfo> selectByCompanyUid(MemberQueryBean bean);    
    
    //TbMemberInfo selectByCompanyUidAndMobile(MemberQueryBean bean);

    List<MemberInfo> select(MemberQueryListBean bean);    
    
    
    TbMemberInfo selectByMobile(String phone);
}